﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net;
using System.Text;
using System.IO.Ports;
using KeaoBase;
using System.Reflection;
using System.Threading;

namespace KeaoDeviceService
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            KeaoDevice keaoDevice = new KeaoDevice();
            if (keaoDevice.InitDevice())
            {
                keaoDevice.InitSocket();
                Application.Run();
            }
        }

    }
}
